home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Windows marzen / Macro ToolsWorks 6.31 / tworks.exe / Samples / Tests if clipboard contains text.mcr < prev   
Text File  |  2003-06-12  |  359b  |  13 lines

  1. <#> 
  2. <#> This sample tests whether clipboard contains some text.
  3. <#> 
  4. <cmds>
  5. <var_oper>(vClipboardText,"",GET_TEXT_FROM_CLIPBOARD,"","", "0")
  6. <if_str>("vClipboardText==_vStrEmpty")
  7.    <msg>(-100,-100,"There is NO text in clipboard. ","Message",1)
  8. <else>
  9.    <msg>(-100,-100,"There is this text in clipboard:
  10.  
  11. %vClipboardText%","Message",1)
  12. <endif>
  13.